package com.x86.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2022/4/11 14:02
 */
@ApiModel(value = "feedback")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "feedback")
public class Feedback implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "反馈id")
    private Integer id;

    @TableField(value = "userid")
    @ApiModelProperty(value = "用户id")
    private Integer userid;

    @TableField(value = "`text`")
    @ApiModelProperty(value = "内容")
    private String text;

    @TableField(value = "email")
    @ApiModelProperty(value = "邮箱")
    private String email;

    @TableField(value = "phone")
    @ApiModelProperty(value = "手机号")
    private String phone;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_USERID = "userid";

    public static final String COL_TEXT = "text";

    public static final String COL_EMAIL = "email";

    public static final String COL_PHONE = "phone";
}